package com.ruoyi.system.domain.MES;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @description: 关键物料绑定详情实体类
 * @author: zhengxiong.jiang
 * @createDate: 2023/3/10
 * @version: 1.0
 */
@Data
public class MaterialDatasDTO {

    @ApiModelProperty(value = "工位编码")
    private String FProcessID;

    @ApiModelProperty(value = "工位名称")
    private String FProcessName;

    @ApiModelProperty(value = "物料编码")
    private String FMaterielCode;

    @ApiModelProperty(value = "物料名称")
    private String FMaterielName;

    @ApiModelProperty(value = "物料条码")
    private String FMaterielBarcode;

    @ApiModelProperty(value = "数量")
    private String PatchCount;

    @ApiModelProperty(value = "sn表示单体 09/psn表示批次")
    private String FMaterialType;

    @ApiModelProperty(value = "采集时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date FDate;

}
